package com.qr.dao;


import com.qr.pojo.Loan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanMapper {
    int deleteByPrimaryKey(@Param("sno") String sno, @Param("ISBN") String ISBN);

    int insert(Loan record);

    int insertSelective(Loan record);

    Loan selectByPrimaryKey(@Param("sno") String sno, @Param("ISBN") String ISBN);

    int updateByPrimaryKeySelective(Loan record);

    int updateByPrimaryKey(Loan record);

    List<Loan> findAll();
}